.\"   $Id: getlotrs.3,v 1.1 2002/08/06 14:17:24 pnt Exp $
.\" @(#)getlotrs.2 2.11 91/08/22 ; Labo ASIM cao-vlsi; Author : Pierre Nguyen Tuong
.if t \{\
.so man1/alc_contents.mac
.XS \n%
.ti 0.2i
getlotrs
.XE
.XS2 \n%
.ti 0.2i
getlotrs
.XE2 \}
.TH GETLOTRS 3 "August 6, 2002" "ASIM/LIP6" "MBK LOGICAL FUNCTIONS"
.SH NAME
getlotrs \- retrieve a logical transistor
.so man1/alc_origin.1
.SH SYNOPSIS
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "mlo.h"
lotrs_list \(**getlotrs(ptfig, name)
lofig_list \(**ptfig;
const char \(**name;
.ft R
.fi
.SH PARAMETERS
.TP 20
\fIptfig\fP
Pointer to the figure in which the transistor should be seeked
.TP
\fIname\fP
Instance name of the transistor
.SH DESCRIPTION
\fBgetlotrs\fP looks in the list of transistors of the logical model pointed
to by \fIptfig\fP for a transistor identified by its instance \fIname\fP.
.SH RETURN VALUE
\fBgetlotrs\fP returns a pointer to the given transistor.
.SH ERRORS
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
"\(**\(**\(** mbk error \(**\(**\(** getlotrs impossible :
transistor \fIname\fP doesn't exist in figure \fIptfig\->NAME\fP"
.ft R
.RS
No transistor matches the name. 
.RE
.SH EXAMPLE
.ta 3n 6n 9n 12n 15n 18n 21n
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "mlo.h"
lotrs_list \(**exist(figname, trsname)
char \(**figname, \(**trsname;
{
   return getlotrs(getlofig(figname), trsname);   
}
.ft R
.fi
.SH SEE ALSO
.BR mbk (1),
.BR lofig (3),
.BR lotrs (3),
.BR addlotrs (3),
.BR dellotrs (3).


.so man1/alc_bug_report.1

